<?php
class Modelpic extends ModelBase1 {
	
	protected $tablename = 'view_pic';
	/**
	 *
	 * @var CDbConnection
	 */
	function __construct() {
		parent::__construct ();
	}
	
	
	
	function getRcount($wherearr=0) {
		return parent::getRcount ( $this->tablename,$wherearr );
	}
	
	// 添加或修改 路书 途径地
	function replaceTable($updatear) {
		return parent::replaceTable ( $this->tablename, $updatear );
	}
	
	// 除景点
	function delTable($where) {
		return parent::deleteTable ( $this->tablename, $where );
	
	}
	
	function getTable($where,$limit=1) {
		return parent::getTable ( $this->tablename, $where,0,$limit );
	}
	
	

}
?>
